void userInput(){

    int x;

    x = getch();
    switch(x){
        case 9: printf("painoit tab!\n");break;
        case 97: printf("painoit a!\n");break;
        case 100: printf("painoit d!\n");break;
        case 72: printf("painoit up arrow!\n");break;
        case 80: printf("painoit down arrow!\n");break;
        default: printf("painoit %d\n", x);
    }
}
